<h1>Listing steps</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Path</th>
    <th>Link</th>
    <th>Sequence</th>
    <th>Created at</th>
    <th>Updated at</th>
  </tr>
  
<% for step in @steps %>
  <tr>
    <td><%=h step.title %></td>
    <td><%=h step.path_id %></td>
    <td><%=h step.link_id %></td>
    <td><%=h step.sequence %></td>
    <td><%=h step.created_at %></td>
    <td><%=h step.updated_at %></td>
    <td><%= link_to 'Show', step_path(step) %></td>
    <td><%= link_to 'Edit', edit_step_path(step) %></td>
    <td><%= link_to 'Destroy', step_path(step), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New step', new_step_path %>